/*
 * @Description: 表格高度自适应指令
 * @Author: xuzp4
 * @Date: 2020-01-08 15:45:59
 * @LastEditors  : xuzp4
 * @LastEditTime : 2020-01-15 15:19:14
 */
import adaptive from './adaptive';

const install = function(Vue) {
	Vue.directive('el-height-adaptive-table', adaptive);
};

if (window.Vue) {
	window['el-height-adaptive-table'] = adaptive;
  Vue.use(install); // eslint-disable-line
}

adaptive.install = install;
export default adaptive;
